package com.yc.jpyy.wxuser.service;

import java.util.Map;

import org.springframework.dao.DataAccessException;

import com.yc.jpyy.base.bean.RestResponse;

public interface WxUserService {

    /**
     * 根据姓名、身份证号判断用户是否存在
     * @param paramsMap
     * @return
     */
    Map<String,Object> getDriver(Map<String, Object> paramsMap);

    /**
     * 绑定微信
     * @param paramsMap
     */
    void add(Map<String, Object> paramsMap);

    /**
     * 修改微信信息内容
     * @param paramsMap
     */
    void update(Map<String, Object> paramsMap);

    /**
     * 根据id查询数据
     * @param paramsMap
     * @return
     */
    Map<String,Object> findById(Map<String, Object> paramsMap);
    
    Map<String,Object> getWxUserList(Map<String, Object> paramsMap) throws DataAccessException;

    Map<String,Object> checkIsBind(Map<String, Object> paramsMap);
    
    Map<String,Object> addBind(Map<String, Object> paramsMap);
    
    Map<String,Object> updateWxUserBlack(Map<String, Object> paramsMap);
    
    RestResponse addWxGongzhonghaoService(RestResponse response,Map<String, Object> paramsMap) throws DataAccessException;
    
    Map<String,Object> getVehicleInfo(Map<String, Object> paramsMap);
    
    Map<String,Object> getDriverInfo(Map<String, Object> paramsMap);
    
    Map<String,Object> getVehicleInfoById(Map<String, Object> paramsMap);
    
    Map<String,Object> getDriverInfoById(Map<String, Object> paramsMap);
    
    Map<String,Object> checkOpenidIsExist(Map<String, Object> paramsMap);
    
    int updateGuanZhuWxuserQXService(Map<String, Object> paramsMap) throws DataAccessException;
    
    
}
